home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 6 (Reseller Edition)
/
Apple Ref. & Pres. Lib.v6.0.toast
/
pc
/
3-Presentations
/
Apple Demos
/
Training
/
Apple Scanner Training
/
Scanner Tech - Works
/
card_7270.txt
< prev
next >
Wrap
Text File
|
1990-04-02
|
4KB
|
157 lines
-- card: 7270 from stack: in
-- bmap block id: 3736
-- flags: 4000
-- background id: 2601
-- name: Scanner Tech - Works
----- HyperTalk script -----
on openCard
hide menuBar
global showState
put empty into showState
set hilite of background button "The System" to false
set hilite of background button "How It Works" to true
set hilite of background button "Scan. Concepts" to false
set hilite of background button "File Formats" to false
show card field "Select Field"
show card field "Message Center"
ResetMenuField
end openCard
on closeCard
hide menuBar
hide card field "Select Field"
hide card field "Message Center"
end closeCard
on ResetMenuField
put " Overall Block Diagram" & return & " Optical Mechanism" & return & " Charge Coupled Device" & return & " Main Logic Board" & return & " Power Supply" & return into card field "Select Field"
end ResetMenuField
-- part 54 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=25 top=91 right=182 bottom=201
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Select Field
----- HyperTalk script -----
on mouseUp
global whichExample,showState
put empty into whichExample
put empty into showState
put 1 + (the clickV - top of me) div textHeight of me into clickLine
if line clickLine of me is not empty then
put word 1 of line clickLine of card field "Select Field" into whichExample
put "•" into char 1 of line clickLine of card field "Select Field"
push card
visual dissolve to card
go to card whichExample
end if
end mouseUp
on ResetMenuField
put " Overall Block Diagram" & return & " Optical Mechanism" & return & " Charge Coupled Device" & return & " Main Logic Board" & return & " Power Supply" & return into card field "Select Field"
end ResetMenuField
-- part 55 (field)
-- low flags: 81
-- high flags: 0000
-- rect: left=32 top=231 right=262 bottom=195
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Message Center
-- part 56 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=451 top=3 right=42 bottom=491
-- title width / last selected line: 0
-- icon id / first selected line: 1004 / 1004
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
play harpsichord a4
global search
answer "Type of Search?" with "Browse" or "Automatic" or "Cancel"
if it is "Browse" then
visual wipe up slowly
go to card "Glossary" of stack "Glossary"
end if
if it is "Automatic" then
ask "Find Word?"
put it into search
if search is empty then
exit mouseUp
else
visual wipe up slowly
put "find search" into message box
hide message
go to card "Glossary" of stack "Glossary"
find word search in field "Text"
if the result is "not found" then
answer "Word not found." with "OK"
exit mouseUp
else
show card field id 13
wait 4 seconds
hide card field id 13
end if
end if
end if
end mouseUp
-- part 57 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=402 top=3 right=42 bottom=438
-- title width / last selected line: 0
-- icon id / first selected line: 1008 / 1008
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
doMenu "Print Card"
end mouseUp
-- part contents for card part 54
----- text -----
Overall Block Diagram
Optical Mechanism
Charge Coupled Device
Main Logic Board
Power Supply
-- part contents for card part 55
----- text -----
Please click on a topic in the box above to select system items.